What is MSIL?
3557
25-Oct-2010
Uttam Misra
30-Oct-2010Microsoft IntermediateLanguage (MSIL) is a language used as the output of a number of compilers(C#,VB, .Net, and so forth). The ILDasm (Intermediate Language Disassembler)program that ships with the .Net Framework SDK allows the user to see MSIL codein human readable format.
Whencompiling to manage code, the compiler translates your source code intoMicrosoft intermediate language (MSIL), which is the CPU independent set ofinstructions that can be efficiently converted into native code. MSIL includesinstruction for loading, storing, initializing, and calling method on objects,as well as instructions for arithmetic and logical operations, control flow,direct memory access, exception handling, and other operations. Before code canbe run, MSIL must be converted to CPU- specific code, usually be JIT – compiledand run on any supported architecture.